package org.shop.oauth.entity;

import org.springframework.security.core.GrantedAuthority;

public class Authority implements GrantedAuthority {

    private Long id;
    private String auhtority;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAuhtority() {
        return auhtority;
    }

    public void setAuhtority(String auhtority) {
        this.auhtority = auhtority;
    }

    @Override
    public String getAuthority() {
        return auhtority;
    }
}
